import React from 'react';
import {View, Text, StyleSheet} from 'react-native';

function HistoryListHeader(props) {
  return (
    <View style={styles.container}>
      <Text style={styles.item}>类型</Text>
      <Text style={styles.item}>代码</Text>
      <Text style={styles.item}>内容</Text>
    </View>
  );
}

export default HistoryListHeader;

const styles = StyleSheet.create({
  container: {
    flexDirection: 'row',
  },
  item: {
    flex: 1,
    textAlign: 'center',
    color: '#5DD5C8',
    fontWeight: 'bold',
    fontSize: 18,
    lineHeight:50,
  },
});
